public class HardDisk {

    int amount; //定义硬盘的容量

    void setAmount(int m){

        amount=m;

    }

    int getAmount(){

        return amount;

    }

}